package com.wanma.recuit.pojo;

import java.io.Serializable;
import java.util.Date;

public class Job implements Serializable {
    /**
	* 职位id
	*/
    private Integer id;

    /**
	* 发布人的id
	*/
    private Integer companyUserId;

    /**
	* 职位所属公司的id
	*/
    private Integer companyId;

    /**
	* 职位的名称
	*/
    private String jobName;

    /**
	* 职位所属岗位id(二级分类）
	*/
    private Integer positionId;

    /**
	* 职位性质id
	*/
    private Integer characterId;

    /**
	* 工作地点
	*/
    private String jobAdress;

    /**
	* 职位所在城市id
	*/
    private Integer cityId;

    /**
	* 职位薪资范围
	*/
    private Integer salaryId;

    /**
	* 职位最低学历id
	*/
    private Integer educationId;

    /**
	* 职位最低工作经历id
	*/
    private Integer experienceId;

    /**
	* 职位描述
	*/
    private String jobIntroduce;

    /**
	* 职位招聘人数
	*/
    private Integer needCount;

    /**
	* 职位的发布时间
	*/
    private Date releaseTime;

    /**
	* 职位撤销时间
	*/
    private Date cancelTime;

    /**
	* 排序
	*/
    private Integer sort;

    /**
	* 假删除
	*/
    private Boolean enable;
    /*字典表对象*/
    private Dictionary dictionary;
    private Dictionary dictionary1;
    private Dictionary dictionary2;
    private Dictionary dictionary3;

    private City city;
    private Industry industry;

    public Dictionary getDictionary() {
        return dictionary;
    }

    public void setDictionary(Dictionary dictionary) {
        this.dictionary = dictionary;
    }

    public Dictionary getDictionary1() {
        return dictionary1;
    }

    public void setDictionary1(Dictionary dictionary1) {
        this.dictionary1 = dictionary1;
    }

    public Dictionary getDictionary2() {
        return dictionary2;
    }

    public void setDictionary2(Dictionary dictionary2) {
        this.dictionary2 = dictionary2;
    }

    public Dictionary getDictionary3() {
        return dictionary3;
    }

    public void setDictionary3(Dictionary dictionary3) {
        this.dictionary3 = dictionary3;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public Industry getIndustry() {
        return industry;
    }

    public void setIndustry(Industry industry) {
        this.industry = industry;
    }





    /**
     * 详细工作地点
     */
    private String positionaddress;

    public String getPositionaddress() {
        return positionaddress;
    }



    public void setPositionaddress(String positionaddress) {
        this.positionaddress = positionaddress;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyUserId() {
        return companyUserId;
    }

    public void setCompanyUserId(Integer companyUserId) {
        this.companyUserId = companyUserId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Integer getCharacterId() {
        return characterId;
    }

    public void setCharacterId(Integer characterId) {
        this.characterId = characterId;
    }

    public String getJobAdress() {
        return jobAdress;
    }

    public void setJobAdress(String jobAdress) {
        this.jobAdress = jobAdress;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getSalaryId() {
        return salaryId;
    }

    public void setSalaryId(Integer salaryId) {
        this.salaryId = salaryId;
    }

    public Integer getEducationId() {
        return educationId;
    }

    public void setEducationId(Integer educationId) {
        this.educationId = educationId;
    }

    public Integer getExperienceId() {
        return experienceId;
    }

    public void setExperienceId(Integer experienceId) {
        this.experienceId = experienceId;
    }

    public String getJobIntroduce() {
        return jobIntroduce;
    }

    public void setJobIntroduce(String jobIntroduce) {
        this.jobIntroduce = jobIntroduce;
    }

    public Integer getNeedCount() {
        return needCount;
    }

    public void setNeedCount(Integer needCount) {
        this.needCount = needCount;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public Date getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(Date cancelTime) {
        this.cancelTime = cancelTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", companyUserId=").append(companyUserId);
        sb.append(", companyId=").append(companyId);
        sb.append(", jobName=").append(jobName);
        sb.append(", positionId=").append(positionId);
        sb.append(", characterId=").append(characterId);
        sb.append(", jobAdress=").append(jobAdress);
        sb.append(", cityId=").append(cityId);
        sb.append(", salaryId=").append(salaryId);
        sb.append(", educationId=").append(educationId);
        sb.append(", experienceId=").append(experienceId);
        sb.append(", jobIntroduce=").append(jobIntroduce);
        sb.append(", needCount=").append(needCount);
        sb.append(", releaseTime=").append(releaseTime);
        sb.append(", cancelTime=").append(cancelTime);
        sb.append(", sort=").append(sort);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}